{template 'common/_mobile'}

<style>

    .bottom{
        border-radius: 10px
    }
    .leftline{
        border-left: 1px solid #d8d0d0;
    }
    .memberd{
        border-radius: 50px; width: 50px; height: 50px;float: left; background-color: #0c0000;
    }
    .memberp{
        display: block;float: left; margin-top: 1px; margin-left: 23px;
    }

</style>

<div class="panel panel-default title">
    <div class="panel-body">
        个人中心
    </div>
</div>


<div class="panel panel-default">
    <div class="panel-body">
        <div>
            <div class="memberd"><img src="{$member['images']['avatar']}" style=" width: 50px; height: 50px;" alt=""></div>
            <p class="memberp">{$member['nickname']}</p>
            <div style="float: right;margin-right: 30px;">
                <p>快递总数</p>
                <p style=" width: 30px;margin-left: 13px;display: block;background-color: #1E90FF;border-radius: 50%;height: 30px;">
                    <span style="display: block;color:  #fff ;padding-top: 14%; font-size: 18px; text-align: center;">{$count}</span></p>
            </div>


        </div>
    </div>
</div>

<ul id="myTab" class="nav nav-tabs col-md-8" style=" background-color: #fff;">
    <li class="active"><a href="#home" data-toggle="tab">全部</a></li>
    <li><a href="#ios" data-toggle="tab">已签收</a></li>
    <li><a href="#oss" data-toggle="tab">未签收</a></li>
</ul>

<div id="myTabContent" class="tab-content" style="background-color: #ffffff;height: 360px;">
    <div class="tab-pane fade in active" id="home">
        {loop $kcode $k}
            <a href="{php echo $this->createMobileUrl('cover1',array('kid'=>$k['kid']) )}" style="color: #0a0a0a">
            <li class="list-group-item list-group-item-defult" style="padding: 20px;">{$k['kname']}<spen style="padding: 20px;"> {$k['kid']} </spen></li>
            </a>
        {/loop}
    </div>
    <div class="tab-pane fade" id="ios">
        {loop $kcode $i $k}
          {if $k['state'] == '3'}
            <a href="{php echo $this->createMobileUrl('cover1',array('kid'=>$k['kid']) )}" style="color: #0a0a0a">
                <li class="list-group-item list-group-item-defult" style="padding: 20px;">{$k['kname']}<spen style="padding: 20px;"> {$k['kid']} </spen></li>
            </a>
          {/if}
        {/loop}
    </div>
    <div class="tab-pane fade" id="oss">
        {loop $kcode $i $k}
        {if $k['state'] !== '3'}
            <a href="{php echo $this->createMobileUrl('cover1',array('kid'=>$k['kid']) )}" style="color: #0a0a0a">
                <li class="list-group-item list-group-item-defult" style="padding: 20px;">{$k['kname']}<spen style="padding: 20px;"> {$k['kid']} </spen></li>
            </a>
        {/if}
        {/loop}
    </div>
</div>

{template 'common/_footer'}